# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=retroarch-assets
# Needs to be upgraded in sync with the retroarch aport
pkgver=0_git20220321
pkgrel=0
_commit="f45dd1351e6bfb9f01e12bee8d358ad22a2bb8f9"
arch="noarch"
url="https://www.libretro.com"
pkgdesc="Assets needed for RetroArch - e.g. menu drivers, etc"
license="CC-BY-4.0"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/retroarch-assets/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
options="!check" # No code to test

build() {
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="
8b1625cfab215a63e137235a358bf8d671e0d810500123d74f35cd178b69c0e6386065feaa0f8a7565d3d67be79480b23cf71fd1639e39f35f000984f52d8747  retroarch-assets-f45dd1351e6bfb9f01e12bee8d358ad22a2bb8f9.tar.gz
"
